﻿using System;
using System.ComponentModel;

namespace Coding4Fun.Cannon.Phone.Service
{
    public class ServiceCompletedEventArgs : AsyncCompletedEventArgs
    {
        public Exception ServiceException { get; set; }

        public string Result { get; private set; }

        public ServiceCompletedEventArgs(string result, object userState) : base(null, false, userState)
        {
            Result = result;
        }
    }
}